package com.iwhalecloud.bss.kite.cucc.web;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;
/**
 * 该类用于在springboot启动之后加载
 */
@Component
public class ApplicationRunnerImpl implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
        //启动prometheus端口
        HostMetric.getInstance().startPrometheus();

    }
}
